home *** CD-ROM | disk | FTP | other *** search
/ Voyager Presents CD-ROM's That Matter / Voyager Presents CD-ROM's That Matter.iso / pc / demos / ephemwin / ephem.dir / 00039.ls < prev    next >
Encoding:
Text File  |  1994-11-01  |  430 b   |  31 lines

  1. on enterFrame
  2.   cursor(200)
  3. end
  4.  
  5. on waitQT chan
  6.   if the movieRate of sprite chan = 1 then
  7.     go(the frame)
  8.   end if
  9. end
  10.  
  11. on waitSound chan
  12.   if soundBusy(chan) = 1 then
  13.     go(the frame)
  14.   end if
  15. end
  16.  
  17. on myWait theTicks
  18.   set myTicks to theTicks + the ticks
  19.   repeat while myTicks >= the ticks
  20.   end repeat
  21. end
  22.  
  23. on keyDown
  24.   global autoPlaying
  25.   set autoPlaying to 0
  26.   sound stop 1
  27.   sound stop 2
  28.   unLoadCast()
  29.   play done
  30. end
  31.